package com.clkj.xiuzheng.pojo.shangcheng;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
* 0删
* @TableName t_xz_productFormat
*/
@ApiModel( value ="t_xz_productFormat" )
@Table( name ="t_xz_productFormat" )
public class ProductFormat implements Serializable {

    /**
    * 商城 药品规格表 
    */
    @Id
    @Column(name = "format_id" ,updatable = false)
    @ApiModelProperty("商城 药品规格表")
    private Integer formatId;
    /**
    * 商品规格名称
    */
    @Column(name = "format_name" )
    @ApiModelProperty("商品规格名称")
    private String formatName;
    /**
    * 是否删除 0删
    */
    @Column(name = "is_deleted" )
    @ApiModelProperty("是否删除 0删")
    private Integer isDeleted;
    /**
    * 商品id
    */
    @Column(name = "product_id" )
    @ApiModelProperty("商品id")
    private Integer productId;
    /**
    * 该规格商品图片
    */
    @Column(name = "product_image" )
    @ApiModelProperty("该规格商品图片")
    private String productImage;
    /**
    * 商品数量
    */
    @Column(name = "product_num" )
    @ApiModelProperty("商品数量")
    private Long productNum;
    /**
    * 商品价格
    */
    @Column(name = "product_price" )
    @ApiModelProperty("商品价格")
    private Double productPrice;

    @Column(name = "product_num_warnimg" )
    @ApiModelProperty("商品数量预警")
    private Integer productNumWarnimg;

    @Column(name = "product_score" )
    @ApiModelProperty("商品积分 /钻石")
    private Integer productScore;

    @Column(name = "post_num" )
    @ApiModelProperty("邮费")
    private Double postNum;

    @Transient
    private Integer flag;


    public String getFormatName() {
        return formatName;
    }

    public void setFormatName(String formatName) {
        this.formatName = formatName;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }





    public Long getProductNum() {
        return productNum;
    }

    public void setProductNum(Long productNum) {
        this.productNum = productNum;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public Integer getProductNumWarnimg() {
        return productNumWarnimg;
    }

    public void setProductNumWarnimg(Integer productNumWarnimg) {
        this.productNumWarnimg = productNumWarnimg;
    }

    public Integer getFormatId() {
        return formatId;
    }

    public void setFormatId(Integer formatId) {
        this.formatId = formatId;
    }

    public Integer getProductScore() {
        return productScore;
    }

    public void setProductScore(Integer productScore) {
        this.productScore = productScore;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Double getPostNum() {
        return postNum;
    }

    public void setPostNum(Double postNum) {
        this.postNum = postNum;
    }
}
